package com.jiaai.shop.store.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.enums.IdType;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 提现申请表
 * </p>
 *
 * @author
 * @since 2018-04-01
 */
@TableName("s_extract_money")
public class SExtractMoney extends Model<SExtractMoney> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 提现申请人
     */
	private String extractMemeber;
	/**
	 *实际到账金额
	 */
	private BigDecimal amount;

    /**
     * 提现数目
     */
	private String extractNumber;
    /**
     * 提现比例
     */
	private int extractProportion;
    /**
     * 处理状态（0，未处理，1，已处理）
     */
	private Integer state;
    /**
     * 处理结果
     */
	private int results;

	private Integer bankId;
	/**
	 *用户ID
	 */
	private  String memberId;

	public String getMemberId() {
		return memberId;
	}

	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	@JSONField(deserialize = false)
	private Date time;
	@JSONField(deserialize = false)
	private Date resultsTime;

	public Date getResultsTime() {
		return resultsTime;
	}

	public void setResultsTime(Date resultsTime) {
		this.resultsTime = resultsTime;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getExtractMemeber() {
		return extractMemeber;
	}

	public void setExtractMemeber(String extractMemeber) {
		this.extractMemeber = extractMemeber;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public String getExtractNumber() {
		return extractNumber;
	}

	public void setExtractNumber(String extractNumber) {
		this.extractNumber = extractNumber;
	}

	public int getExtractProportion() {
		return extractProportion;
	}

	public void setExtractProportion(int extractProportion) {
		this.extractProportion = extractProportion;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public int getResults() {
		return results;
	}

	public void setResults(int results) {
		this.results = results;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public Integer getBankId() {
		return bankId;
	}

	public void setBankId(Integer bankId) {
		this.bankId = bankId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
